<!--#include file="../#include/const.asp"-->
<!--#include file="../library/function/fun#common.asp"-->
<%
Call chkLogin("/action.asp")
Dim sAction:sAction=safeString(Trim(Request.QueryString("action")))
'Dim sParameter

'sParameter=request.QueryString()
'    sParameter=Replace(sParameter,"action=functionManage&","")

'Dim sCode:sCode=includefile("#function/adminFunction.asp?" & sParameter,"","")
'sCode=Replace(Server.HtmlEncode(sCode),sCrLf,"<br/>")
'Response.Write(sCode)
'Response.End()

Select Case sAction
Case "functionManage":Call Execute(includefile("#function/adminFunction.asp","","")) 'function manage
Case "functionAdd": Call Execute(includefile("#function/addFunction.asp","",""))
Case "functionEdit": Call Execute(includefile("#function/editFunction.asp","",""))
Case "pageManage":  Call Execute(includefile("#page/adminPage.asp","","")) 'page manage
Case "pageAdd":  Call Execute(includefile("#page/addPage.asp","",""))
Case "pageEdit":  Call Execute(includefile("#page/editPage.asp","",""))
Case "categoryKindManage":Call Execute(includefile("#category/adminCategoryKind.asp","","")) 'category manage
Case "categoryManage":Call Execute(includefile("#category/adminCategory.asp","",""))
Case "categoryAdd":Call Execute(includefile("#category/addCategory.asp","",""))
Case "categoryEdit":Call Execute(includefile("#category/editCategory.asp","",""))
Case "guestbookManage":Call Execute(includefile("#guestbook/adminGuestbook.asp","","")) 'guestbook manage
Case "guestbookAdd":Call Execute(includefile("#guestbook/addGuestbook.asp","",""))
Case "guestbookEdit":Call Execute(includefile("#guestbook/editGuestbook.asp","",""))
Case "bulletinManage":Call Execute(includefile("#bulletin/adminBulletin.asp","","")) 'bulletin manage
Case "bulletinAdd":Call Execute(includefile("#bulletin/addBulletin.asp","",""))
Case "bulletinEdit":Call Execute(includefile("#bulletin/editBulletin.asp","",""))
Case "adManage":Call Execute(includefile("#ad/adminAD.asp","","")) 'ad
Case "adAdd":Call Execute(includefile("#ad/addAD.asp","",""))
Case "adEdit":Call Execute(includefile("#ad/editAD.asp","",""))
Case "pollManage":Call Execute(includefile("#poll/adminPoll.asp","","")) 'poll manage
Case "pollAdd":Call Execute(includefile("#poll/addPoll.asp","",""))
Case "pollEdit":Call Execute(includefile("#poll/editPoll.asp","",""))
Case "linkManage":Call Execute(includefile("#link/adminLink.asp","","")) 'link manage
Case "linkAdd":Call Execute(includefile("#link/addLink.asp","",""))
Case "linkEdit":Call Execute(includefile("#link/editLink.asp","",""))
Case "articleManage":Call Execute(includefile("#article/adminArticle.asp","","")) 'article manage
Case "articleAdd":Call Execute(includefile("#article/addArticle.asp","",""))
Case "articleEdit":Call Execute(includefile("#article/editArticle.asp","",""))
Case "productManage":Call Execute(includefile("#product/adminProduct.asp","","")) 'product manage
Case "productAdd":Call Execute(includefile("#product/addProduct.asp","",""))
Case "productEdit":Call Execute(includefile("#product/editProduct.asp","",""))
Case "downloadManage":Call Execute(includefile("#download/adminDownload.asp","","")) 'download manage
Case "downloadAdd":Call Execute(includefile("#download/addDownload.asp","",""))
Case "downloadEdit":Call Execute(includefile("#download/editDownload.asp","",""))
Case "photoManage":Call Execute(includefile("#photo/adminPhoto.asp","","")) 'photo manage
Case "photoAdd":Call Execute(includefile("#photo/addPhoto.asp","",""))
Case "photoEdit":Call Execute(includefile("#photo/editPhoto.asp","",""))
Case "movieManage":Call Execute(includefile("#movie/adminMovie.asp","","")) 'movie manage
Case "movieAdd":Call Execute(includefile("#movie/addMovie.asp","",""))
Case "movieEdit":Call Execute(includefile("#movie/editMovie.asp","",""))
Case "userManage":Call Execute(includefile("#user/adminUser.asp","","")) 'user manage
Case "userAdd":Call Execute(includefile("#user/addUser.asp","",""))
Case "userEdit":Call Execute(includefile("#user/editUser.asp","",""))
Case "talentManage":Call Execute(includefile("#talent/adminEmploy.asp","","")) 'talent manage
Case "talentAdd":Call Execute(includefile("#talent/addEmploy.asp","",""))
Case "talentEdit":Call Execute(includefile("#talent/editEmploy.asp","",""))
Case "toemployManage":Call Execute(includefile("#talent/adminToEmploy.asp","",""))
Case "shopManage":Call Execute(includefile("#shop/adminShop.asp","","")) 'shop manage
Case "shopAdd":Call Execute(includefile("#shop/addShop.asp","",""))
Case "shopEdit":Call Execute(includefile("#shop/editShop.asp","",""))
Case "infoManage":Call Execute(includefile("#info/adminInfo.asp","","")) 'info manage
Case "infoAdd":Call Execute(includefile("#info/addInfo.asp","",""))
Case "infoEdit":Call Execute(includefile("#info/editInfo.asp","",""))
Case "mailManage":Call Execute(includefile("#mail/adminMail.asp","","")) 'mail manage
Case "mailAdd":Call Execute(includefile("#mail/addMail.asp","",""))
Case "mailEdit":Call Execute(includefile("#mail/editMail.asp","",""))
Case "commentManage":Call Execute(includefile("#comment/adminComment.asp","","")) 'comment manage
Case "commentAdd":Call Execute(includefile("#comment/addComment.asp","",""))
Case "commentEdit":Call Execute(includefile("#comment/editComment.asp","",""))
End Select
%>